<template>
    <el-tooltip :content="tooltip">
        <el-button style="margin-left: 12px;" @click="$emit('click')">
            <slot>
            </slot>
        </el-button>
    </el-tooltip>
</template>
<script setup lang="ts">
import { defineProps, defineEmits } from 'vue';
import { ElButton, ElTooltip } from "element-plus"
defineEmits(['click'])
defineProps({
    tooltip: String
})

</script>